#pragma once

/*
@author: TriLVH
@description: Obstruction data to init all need data
*/

#define _STATE_MAP_STAGE1_GRASS_1 1

#include "AbstractData.h"
#include "ObstructionDataFactory.h"
#include "GameDeviceSingleton.h"

class ObstructionData : public AbstractData {
private:
	/* init sprites */
	virtual void initSprite();
public:
	/* Default construtor to create data */
	ObstructionData(int id, int type, double x, double y);

	/* init data */
	void virtual initData();

	/* set sprite handler */
	void virtual initSpriteHandler(LPD3DXSPRITE spriteHandler);
};